<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    {:token()}
    <input type="hidden" name="row[id]" value="{$row.id}">
    
    
    <div class="form-group">
        <label for="c-nickname" class="control-label col-xs-12 col-sm-2">{:__('Nickname')}:</label>
        <div class="col-xs-12 col-sm-6">
            <input id="c-nickname" data-rule="required" class="form-control" name="row[nickname]" type="text" value="{$row.nickname|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-money" class="control-label col-xs-12 col-sm-2">{:__('Money')}:</label>
        <div class="col-xs-12 col-sm-6">
            <input id="c-money" data-rule="required" class="form-control" name="row[rose_money]" type="number" value="{$row.rose_money}" disabled>
        </div>
    </div>

    <div class="form-group">
        <label for="c-mobile" class="control-label col-xs-12 col-sm-2">{:__('Mobile')}:</label>
        <div class="col-xs-12 col-sm-6">
            <input id="c-mobile" data-rule="" class="form-control" name="row[mobile]" type="text" value="{$row.mobile|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-avatar" class="control-label col-xs-12 col-sm-2">{:__('Avatar')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-avatar" data-rule="" class="form-control" size="50" name="row[avatar]" type="text" value="{$row.avatar}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-avatar" class="btn btn-danger faupload" data-input-id="c-avatar" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-avatar"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-avatar" class="btn btn-primary fachoose" data-input-id="c-avatar" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-avatar"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-avatar"></ul>
        </div>
    </div>

    <div class="form-group">
        <label for="c-birthday" class="control-label col-xs-12 col-sm-2">{:__('Birthday')}:</label>
        <div class="col-xs-12 col-sm-6">
            <input id="c-birthday" data-rule="" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[birthday]" type="text" value="{$row.birthday}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-money" class="control-label col-xs-12 col-sm-2">{:__('简介')}:</label>
        <div class="col-xs-12 col-sm-6">
            <input id="c-money"  class="form-control" name="row[profile]" type="text" value="{$row.profile}" >
        </div>
    </div>
    <div class="form-group">
        <label for="c-money" class="control-label col-xs-12 col-sm-2">{:__('所在城市')}:</label>
        <div class="col-xs-12 col-sm-6">
            <input id="c-money"  class="form-control" name="row[city]" type="text" value="{$row.city}" >
        </div>
    </div>
   
    <div class="form-group">
        <label for="c-money" class="control-label col-xs-12 col-sm-2">{:__('标签')}:</label>
        <div class="col-xs-12 col-sm-6">
            <input id="c-money"  class="form-control" name="row[tags]" type="text" value="{$row.tags}" >
        </div>
    </div>
   
    <div class="form-group">
        <label for="c-money" class="control-label col-xs-12 col-sm-2">{:__('身份证')}:</label>
        <div class="col-xs-12 col-sm-6">
            <input id="c-money"  class="form-control" name="row[identityid]" type="text" value="{$row.identityid}" >
        </div>
    </div>
   
    <div class="form-group">
        <label for="c-money" class="control-label col-xs-12 col-sm-2">{:__('微信')}:</label>
        <div class="col-xs-12 col-sm-6">
            <input id="c-money"  class="form-control" name="row[weixin]" type="text" value="{$row.weixin}" >
        </div>
    </div>
    <div class="form-group">
        <label for="content" class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="radio">
				<label  ><input class="form-input-type"  name="row[status]" type="radio" value="1" {$row.status==1?"checked='checked'":""}> 正常</label>
				<label ><input  class="form-input-type"   name="row[status]" type="radio"  value="0" {$row.status==0?"checked='checked'":""}> 冻结</label>
				<label ><input  class="form-input-type"   name="row[status]" type="radio"  value="-1" {$row.status==-1?"checked='checked'":""}> 注销</label>
			</div>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
